cups: Annotate a call whose return value we don't care about
authorMatthias Clasen <mclasen@redhat.com>
Fri, 17 Jul 2015 19:58:24 +0000 (15:58 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Jul 2015 20:11:17 +0000 (16:11 -0400)
We're closing this fd, but we're not going to do anything else
if that fails. Annotate to let coverity see this.

modules/printbackends/file/gtkprintbackendfile.c

index 44c3ffbca64daf9cdc406f9c24adbc285040c70d..6d98d0f7d5e5c8ce66dec8ed2a04f92d8670cd8a 100644 (file)
@@ -390,7 +390,7 @@ file_print_cb_locked (GtkPrintBackendFile *print_backend,
   GtkRecentManager *recent_manager;
 
   if (ps->target_io_stream != NULL)
-    g_output_stream_close (G_OUTPUT_STREAM (ps->target_io_stream), NULL, NULL);
+    (void)g_output_stream_close (G_OUTPUT_STREAM (ps->target_io_stream), NULL, NULL);
 
   if (ps->callback)
     ps->callback (ps->job, ps->user_data, error);